// pages/my/my.js
Page({

  data:{
    selectedIndex:0,
    tabName:[
        {index:0,name:'超链接的跳转'},
        {index:1,name:'按钮跳转'},
        {index:2,name:'其他'},
        
    ],
  },

  /**
   * navigate 
   */
  navigate(){
    wx.navigateTo({
      url: '/pages/sys_component/sys_component',
    });

  },

  redirectTo(){
    wx.redirectTo({
      url: '/pages/sys_component/sys_component',
    });
  },

  swtithTab(){
    wx.switchTab({
      url: '/pages/home/home',
    });
  }

})